correct_nusername="administrator"
correct_password="123456"
remain_chances=3
while remain_chances>0:
    username=input("请输入用户名：")
    passwor=input("请输入密码：")
    if username==correct_nusername and passwor==correct_password:
        print(f"登陆成功！欢迎{username}")
        break;
    else:
        remain_chances-=1
        if  remain_chances>0:
            print(f"登陆错误，今日机会还有{remain_chances}次")
        else:
            print("登陆超额，请明天在登陆！")